/************rem适配********************/
@deviceBps: 320px, 360px, 375px, 400px, 414px, 480px, 750px;
.html-font-size(@i, @design-font-size, @design-width)
    when
    (@i <= length(@deviceBps)) {
    //注意less数组是从1开始的
    @bp: extract(@deviceBps, @i);
    @font: round(@bp / @design-width * @design-font-size, 4);
    @media only screen and (min-width: @bp) {
        html {
            font-size: @font !important;
        }
    }
    .html-font-size((@i + 1), @design-font-size, @design-width);
}

.html-font-size(@design-font-size, @design-width) {
    html {
        font-size: @design-font-size;
    }
    .html-font-size(1, @design-font-size, @design-width);
}
/************单位转换********************/
.px2rem(@name, @px, @design-font-size) {
    @{name}: 1rem * round(@px / @design-font-size, 2);
}

@design-font-size: 16px;
@design-width: 375px;

.px2rem(@name, @px) {
    .px2rem(@name, @px, @design-font-size);
}
/************单位转换********************/

// 通用字体颜色
@font-color-gray: #999;

/************页面全局********************/
.pageCover {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
/************垂直居中********************/
.verMiddle::before {
    display: inline-block;
    vertical-align: middle;
    content: '';
    height: 100%;
    width: 0;
    overflow: hidden;
}

/*********************element-ui样式调整********************/
.el-input__icon.el-icon {
    height: 100%;
}

.el-menu {
    border-right: 0;
}

.activity-table-header, .dark-table-header {
    font-weight: bold;
    color: black;
    background-color: #f2f2f2 !important;
}

.el-pagination .el-input__suffix {
    right: 5px;
}

.el-form-item__content{
    max-width: 360px;
    min-width: 200px;
}
/*********************全局样式********************/
.fullscreen{
    .sideBarWrap,.layoutHeader{
        background-color: white;
    }
}